package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter
@Setter
public class Car {
    private Long id;

    private String name;//车主姓名

    private String carbrand;//汽车品牌

    private String model;//车辆型号

    private String number;//车牌号码

    private BigDecimal gas;//排气量

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT-8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pdate;//购置日期

    private BigDecimal price;//市场估价

    private Boolean typestate;//分类

    private Integer weight;//车载大小

    private String mark;//备注信息

}